﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;

namespace Vehicle.BLLShow
{
    public class AdminShow : BLLShow_Base
    {
        private static readonly Vehicle.BLL.IAdmin admin=Vehicle.BLL.BLLFactory.CreateAdmin();

        private static readonly Vehicle.BLL.ILog log = Vehicle.BLL.BLLFactory.CreatedLog();

        public void Admin_RepeaterBind(Repeater Rept, Vehicle.Model.ComponentsInfo m_ComponentsInfo)
        {
            admin.RepeaterBind(Rept, m_ComponentsInfo);
        }

        public void Admin_DropDownListBind1(DropDownList drop)
        {
            admin.DropDownListBind1(drop);
        }

        public void Admin_DropDownListBind2(DropDownList drop)
        {
            admin.DropDownListBind2(drop);
        }

        public void Admin_Add(Vehicle.Model.AdminInfo m_AdminInfo)
        {
            admin.Add(m_AdminInfo);
        }

        public void Admin_Update(Vehicle.Model.AdminInfo m_AdminInfo)
        {
            admin.Update(m_AdminInfo);
        }

        public void Log_RepeaterBind(Repeater Rept, Vehicle.Model.ComponentsInfo m_ComponentsInfo)
        {
            log.RepeaterBind(Rept, m_ComponentsInfo);
        }

        public void Log_DropDownListBind(DropDownList drop)
        {
            log.DropDownListBind(drop);
        }

        public void Log_Add(Vehicle.Model.LogInfo m_LogInfo)
        {
            log.Add(m_LogInfo);
        }
    }
}
